import Laout from "../view/laout/index.vue" 
export default[
    {
        path:"/",
        component:Laout,
        meta:{
            routername:"首页"
        },
        name:"index",
        redirect:"/login",
    },
    {
        path:"/login",
        component:()=>import("../components/login.vue")
    },
    {
        path:"/register",
        component:()=>import("../components/register.vue")
    },
    {
        name: '404',
        path: '/404',
        component:()=>import("../components/404page.vue"),
    },
    {
        path:"/:pathMatch(.*)",
        redirect: '/404'
    }
]